package cn.iocoder.yudao.module.bpm.controller.admin.oaapply.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - OA 请假申请新增/修改 Request VO")
@Data
public class OaApplySaveReqVO {

    @Schema(description = "请假表单主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "24082")
    private Long id;

    @Schema(description = "申请人的用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "29440")
    @NotNull(message = "申请人的用户编号不能为空")
    private Long userId;

    @Schema(description = "请假原因", requiredMode = Schema.RequiredMode.REQUIRED, example = "不香")
    @NotEmpty(message = "请假原因不能为空")
    private String reason;

    @Schema(description = "流程实例的编号", example = "20486")
    private String processInstanceId;

    @Schema(description = "部门id")
    private String bm;

    @Schema(description = "申请日期")
    private String sqrq;

    @Schema(description = "总时长")
    private String zsc;

    @Schema(description = "bpmkey")
    private String bpmDefKey;

}